replace all define statements with functions that do nothing