Merge pull request #1 from satori/master

better libltdl init and gcc warning fixes
fixed missed methods