Fix mer plugin build in Windows
Fix plugin builds in Windows
Fix reading targets.xml file for windows.