Remove all build dependencies from the image