changes to make edflib work in windows and nodewebkit