Helps cross-compiling scala to java6 and java7