[enhance] compiler: Added global sharing options (to unactivate for native backend)