fix build on registry.docker.com