Fix whole file defines