Changes to get it working with the current osx platform

Fix some nomenclature in the Plist and set some flags for static builds