Cmake support

Added CMAKE support. 
Added glew dependency to compile under Window