Added -mmacosx-version-min=10.5 to compile.sh