make compilation work on linux too