Build file changes to be able to build maven modules with 2.4.x cores.