linux compilation error fix