Add the GLEW_BUILD preprocessor

Fixes loads of inconsistent dll linkage warnings on Windows