Fixed some warnings and added Soutils to the buildpath. This references #1