Fixing build bug that occurs due to old maven-compiler-plugin