Support instrumentation of preloaded modules for >= 17.1

Fixes #37.
Merge pull request #38 from aronisstav/preloaded-fix

Support instrumentation of preloaded modules for >= 17.1