add api and fix for rake on osx