Fix compile error with new libraries