change zmake direct path to relative path