berkelium: windows compile fixes