Removed cgo dependency from windows implementation