minor changes to build system