Specified java compile version to fix build errors