make work in mono and test in linux