some build fixes.