Fix multithreaded make