Improved buildDXB.sh

Added -r to specify that the program should run if the compilation
eucceeds
Improved build script, addded command line options