fix code coverage problem

There is a known bug to have problem with -lprofile_rt 
https://bugs.launchpad.net/ubuntu/+source/clang/+bug/954709

lgcov is default for gcc and works with new version of clang too.