Installer: put windows headers in a more consistent place
Remove useless cast in vsscript
Delay freeing the core until all filter instances have been destroyed