Fix winpr headers for C++ usage

This patch fixes headers so they can be used in C++ projects.