fix warnings in libshogun examples
Merge pull request #1420 from votjakovr/hotfix/warnings

Fix warnings in libshogun examples
compile fix when refcounting is disabled
lapack is needed in this test - ifdef if not available