fixed amf parser on windows