modifies makefiles to enable specifying platform, neccessary for emscripten
adds .gitignore, modifies Wm5GlExtensions to work with __APPLE__ using standard cc