commands.c: compilation fixes

Change-Id: Ida3a380b3f9f0348e4be69edaa33aa264fb369ab