ensure tmp exists in jbuild script