berkelium-cpp: some windows compile fixes refs #1