better gcc version detection; add experimental support for clang compiler; prepare for release 0.12