--with-gc required path to libraries, not headers. Also: remove unused parameter & set meta.platforms = linux.