Fix make examples for windows.

Small fixes to make building examples doc under windows a little easier.

Not sure about the python add in check_call but I couldnt find a way to set up my windows to be able to use unix shebang.