Fix the build_all_generated rule to include generated .map, .def and .opt files