enhance hadoop 2.2.0 compile on mac