removes macro scripts from build files