Fix a bug with the target macro.