Fixing linux compiling error.