fix a build issue on systems with older or no tcplay support