Fix for require.nginx multi-os support