fixed another issue on non apple platforms