added template prefix fix for windows