Ahaggar: improve GCC test for plugins

Signed-off-by: Djalal Harouni <tixxdz@opendz.org>