Add cmdline switch to enable debug builds