construct_path using stdarg.h