Fix: always use namespaced typedefs for cygwin compatibility.