Miner build fix #3 & typos