-Wl,-flat_namespace workaround