Switched to using gradle for building.