make lib dir before starting spec