Fix K3D build