Fixes library calls.