Fix install_memory to actually work.

Otherwise, when specifying a memory size in the
configuration file, you would get 1024 of the string,
not of the integer value.

Signed-off-by: Chris Lalancette <clalancette@gmail.com>