build glutil on osx, fix mouse movmenet