fix mac compile
Merge branch 'master' into coverity
add cov-configure