Fix compliation errors in Solitude and Simplex