Build: --debug | -D value validation

The --debug (-D) command line option expects to be followed by a valid decimal or octal number. Any other value generate an error and stops the process.

Although this has no direct effect on the build result per se, it may mean that something else is wrong on the command line.