Actually add the windows compatibility code *sigh*