Add VM_SET_RESOLUTION for shared libraries