Fix build system

With a clean maven repo, it doesn't build. This patch fixes that.