Added if def flags in case some other module is already defining rubygem, sqlite or rubydev assets.