Simplifies Makefile removing particular paths.