Partially solved regression introduced in last commit. Still needs a workaround
for supporting external dll
Merge pull request #18 from pbosetti/master

Partially solved regression introduced in last commit.