Avoid AOT errors if gsharedvt is not enabled.