nlopt: enable shared libraries