Fix for -l option of build scripts