Remove Stdext dependency

Signed-off-by: Jon Ludlam <jonathan.ludlam@citrix.com>