fixed compilation on linux