Fix multi-arch configure issue for nginx