Fixed windows build

This replaces the hardcoded buildinfo template formerly used on windows
with a llvm-config based solution.