fix bug when defining variable with value on the command line with -D option (problem introduced in ee5fc6b1)