Compile source files and link object files.

def local_build(native, *args, **kwargs):
    """
    Compile source files and link object files.
    """
    method = 'native_build' if native else 'build'
    logging.debug(_('build type: %s'), method)
    return getattr(Builder(), method)(*args, **kwargs)