fixed compilation on ubuntu