Fixed build for maven 2