use the right source_path and build for dev