fix warnings in libshogun examples