fixed post_install for windows