prepping the dir for compilation