Fixed plant compile-time errors. plant create works, other commands still need work.

Signed-off-by: deathrat <deathrat43@gmail.com>