Fix src_dir in configure function