change Environment#parse_makefile_deps() to a class method