minor build fixes.