Fix linker to overwrite opaque types when comparing structs