minor tweaks for building