generate a valid expression when transforming define fixes #108