Add thin library support to Windows too