Correct boosting by local library when using the global scope