fix build HeartRateMonitor_mingw for linux too