Improved compatibility with SGMiner