fixed linux compilation for previous commit