Moved from make to scons and fixed bug in Scanner

Bug in Scanner was in Scanner.cpp:71 where the program crashed if the
slave partitions have NULL name.