fix heart rate monitor for mingw
Merge pull request #91 from Ingener74/newFeature_heartRateMonitorFix

fix heart rate monitor for mingw