Fix dylib loading regressions
Issue #10