Fix perl and ruby options for weechat

Before this change --perl would not actually add the perl module.