Added package NLopt
Changed := to =
Added support for shared lib building and c++ based routines
fixes