Added Windows support (VS 2015)
fixed OS X build
Fixed texturing on Windows build