Make GNUmakefile work with in-place builds.