enforce compiler version to compile on java 1.7