Need to remove postbuild commands most probably from osxtools.cmake
Still have errors, currently not using apple-compile.sh building completely using cmake.