Fix Rakefile :configurator task

If a value is a non-zero integer upon conversion
(i.e., not a string), save that value as an integer.