Cleanup material.cpp dependencies