small changes to build system