OS detect added
more
error fix
cxxflags
fix
shorten
os x pkg-config libs flags