fixed build issues with maven