cmake: fix minor cmake errors.

Forgot to specify the types on a few data types.