built glew and statically linking

amongst the problems were old headers