Add the workaround to load library resources