Fix some cross platform issues. Get symbol export right. Implement dumping of pdb info from a pe file.