Installation & empty library fixes

This PR brings fixes for

- `libnlopt_wrap.so` being completely empty
- `make install` being broken

As a result, this package can now be released and packed into a debian package. It has been tested internally here at PAL.