changed binding to work on windows