build script: fix path at the end of the script for cleaning