make rules for Mac OS Mavericks
revert the tools folder
compile on mac