minor build corrections