changing the build system so built files are neatly placed