Look at the Ryzen 1700X. Its a full fledged 8 core and down to 299 (https://www.amazon.com/exec/obidos/ASIN/B06X3W9NGG/55467-20/...). Dont think Intel has something that comes close to that for compile times at that price point (If someone has a counter point on this I would love to be corrected).
It's worth noting that not all 1700s can hit the 1700X or 1800X speeds. There is a degree of luck in overclocking. Also, it's only a useful suggestion if you don't mind losing your warranty.