qml: use different name between hook worker and hook agent

On windows, we use shared library, we can use the same name between hook worker and hook agent.
But on posix, we use static library, we can not use the same name.