[NLopt/el5] adaptions for new Python-guidelines