proper libltdl initialization
fixed narrowing conversion warning with GCC 4.7.3
Merge pull request #1 from satori/master

better libltdl init and gcc warning fixes