minor fixes to build

minor fixes to build