yap: add 'zlib' and 'gmp' build inputs to enable additional features