Add coverage and profile flags to linker with gcc.