Fix some portability issues on OSX. (GLEW will be used if exists)
Fix overlapping HUD menu