Miner build fix #1