Fix define constants.