Fix compilation on Linux.

Fix case sensitivity and missing libraries.

Best regards and I really like the 3d view,

Michael