Added support for building with maven.