The path seperator was causing templates to not be loaded on windows. Now all template names use / internally.