staging: compilation fix with new gcc