add -D option in gcc and g++