added path macro to ext's build script