Fixes header regex for Windows compatibility