added config and protobufs to gitignore
Fixed a windows build issue
Fixed a segfault on windows