Fix monoD solution and linux compilation