Test not only for -march support, but also the actual presence of the intrinsic routines. Not sure why, but gcc 4.8.5 passes the first but not the second. Fixes: http://tracker.ceph.com/issues/19386 Signed-off-by: Dan Mick <dan.mick@redhat.com>