make sure directory is added.

Signed-off-by: Ah-Lun Tang <tang@ahlun.be>