fixed dynamic extension loading
Merge pull request #21 from yawetse/master

fixed dynamic extension loading