[PATCH 4.19 08/43] tools build feature: Check if get_current_dir_name() is available