Refactored bundle configuration for native extension stuff.