improve compilation of movable ruby on osx