Get gcov to work on Linux

Updated makefile to provide correct command line flags to gcov when
running on Linux.
Note: The code coverage is sometimes not 100% on Linux due to how
      gcov handles inlined functions.  Switching to -O0 for host
      builds can work around that.
Merge remote-tracking branch 'origin/master'

Conflicts:
	makefile