Fixed compilation error; added cmdline app as optional frontend