compile GLUS for both linux and osx