Addition of MrOnions OSX changes to allow for OSX compiling/packaging