Comments and cleanup.
Added support for clang
WIP clang linker issue under mingw