[3D] fix linux build