Fixed compile errors. Don't apss attrs, thread stack size available in miner.cpp