Move some defines in config env