change library name
use libc++ (for c++11 compatibily)
minor modifications