[Fix] Use app_dir and build_dir