Scotsman John McPhee took his and Peugeot's first ever victory in a wet Moto3™ race at Brno ahead of Jorge Martin and Fabio Di Giannantonio.