Initial build system commit
Removed obsolete file
Build system fixes
Fixed OSX config file