Only build the krb5 locator when building shared libs