Fixed some changes missed in the WinIOCP merge
Minor fixes and tweaks to improve support for older compilers

Removed some macro stuff left over from the merge

Commented out some duplicate typedefs in afio.hpp