generate_static_hash_map: add a target directory command-line option