Choose build thread count depending on cpu count