Adjust POM.xml to support Jdk1.7.0_45 on mac.