Minor changes on SimException

Should be able to compile with gcc