build: Getting rid of SRC, VER

Most of the code expects src and ver lowercase naming. Let's convert the
remaining occurences to avoid bad behaviors.

The cleanup() code was doing something like :
    if [ $src = $dir ]; then

This code was failing as $src wasn't set at all.