Folder structure changes.

Changes to the folder structure, modules is now called external and
platform is now called builds. Xcode project needs to be updated to use
the new folder names. Also fixed incosistent dll linkage warnings in
glew.c by defining GLEW_STATIC before the inclusion of glew.h.