Fix: Build script failed if path contained whitespace