misc: only require gamin for building on RHEL < 7