fixed linux compilation