make project more generic for Java builds