Move the defines to a more suitable location