Unreviewed gardening of Apple Windows port.