Build fixes for drone.io.