Fix setting custom build_dir