make it compile under msvs