fix x-compilation