Build file fix for temp dir