Fix warning message about constants already defined