fix compilation on quantal