Workaround issue with dynamic loader on first library call