Fix mysterious compilation bug