Need the NO_REGISTRY flag for the static version of this target as well.