Remove last dependency on stdext

Signed-off-by: David Scott <dave.scott@eu.citrix.com>