@staticmethod
def _replace_scopes(value):
    """ Replace any qmake scopes in a value. """
    value = value.replace('linux-*', 'linux')
    value = value.replace('macx', 'macos')
    value = value.replace('win32', 'win')
    return value
