fixed compilation on linux.