address a case where a module is listed both as prereq and as build_prereq (spotted by Tommy Butler)