Hackfix: Copy SDKHooks vector instead of taking a reference.

@psychonic I don't know if this builds, but this should hopefully be temporary.