more careful about which files we consider inside of the build directory