remove unnecessary cross-compilation and build output
add osx commandline option to support older platforms