Fixes in Windows post_install hooks.