little gradle corrections to enable lib builds