minor build tweaks