added x64 build
fix wrong count to draw arrays