create directory if one does not exist for compile path