to static link
add support for g++4.7.2. remove support for LLVM 3.5. change options of compiler