Fix the build for localhost