Move preprocessor condition before variable declaration, fixes the warning: