lets port this so it builds atleast on current osx, later sdl hi glfw