Use lround instead of llround
It has better compatibility with older MingW and Cygwin versions.
Stolen directly from https://github.com/luke-jr/bfgminer/commit/0230ba4