pmlogger: fix build with Windows APIs once more
pmlogger: fix build with Windows APIs once more

prasincs/pcp,tjanez/pcp,aeg-aeg/pcpfans,edwardt/pcp,wuliming/pcp,wuliming/pcp,adfernandes/pcp,adfernandes/pcp,aeg-aeg/pcpfans,aeg-aeg/pcpfans,edwardt/pcp,adfernandes/pcp,tjanez/pcp,tjanez/pcp,wuliming/pcp,wuliming/pcp,edwardt/pcp,wuliming/pcp,edwardt/pcp,prasincs/pcp,tjanez/pcp,wuliming/pcp,adfernandes/pcp,aeg-aeg/pcpfans,edwardt/pcp,edwardt/pcp,tjanez/pcp,tjanez/pcp,adfernandes/pcp,aeg-aeg/pcpfans,aeg-aeg/pcpfans,edwardt/pcp,aeg-aeg/pcpfans,aeg-aeg/pcpfans,wuliming/pcp,adfernandes/pcp,tjanez/pcp,prasincs/pcp,tjanez/pcp,prasincs/pcp,prasincs/pcp,prasincs/pcp,prasincs/pcp,adfernandes/pcp,adfernandes/pcp,edwardt/pcp,wuliming/pcp,prasincs/pcp