fixed project to compile on MacOS

@neurocase I've made some changes to get the project compiling on MacOS

- added a condition in the make file which will like to MacOS opengl frameworks, or linux libraries on each OS
- added a header which hides the condition to fetch MacOS/Linux header locations
- fixed the declaration of array literals which my c++ compiler didn't like for some reason