Added support for building hackintosh version, optimized code and fixed warnings for build with Xcode
Added support for building hackintosh version, optimized code and fixed warnings for build with Xcode