Fixed the 3D compilation