Fix build with sysroot