Small change to r952007, ensure we don't wipe out the $enable_foomod value when that value is 'shared'. The 'yes', 'shared', 'static' and 'no' values are all valid.