Issue 374

Issue #374: Resolve compilation errors when using clang. Test for Clang and remove linking option(s).