Target java 1.6 and fix exception on Mac OS due to alias plugin