jsm_build can now be called from an external `current_path`