Fix compiler warnings and options

Change some solution options
Fix level 3 compiler warnings