Fixed Linux compile errors.