changes to make edflib work in windows with VS