fix directory structure for maven compilation