Don't create the output dir if there's nothing to output.

This was confusing the build system.

Signed-off-by: Jon Ludlam <jonathan.ludlam@eu.citrix.com>