fix: build issues on Windows/VS

Fixes issues from #18 (except "Inconsistent DLL linkage")

Edited by Pavel Kisliak

Merge request reports

Loading