get everything working with the ms compiler