fix build.url to work with API URLs that contians paths