You could skip adding the line if it returns an empty string instead of the #ifdef WIN32 check.