Add conditionals so Windows binary can be built directly from source