build system tweaks