makefile threadsafety