Adjust thread_create and makefile to actually be imported with the code.