Adjust project to build correctly under maven