Fix CLI compilation errors
Fix #889: Add CI for CLI compilation and assembly.
Merge pull request #892 from sjrd/fix-cli

Fix CLI compilation errors