Copy extension directories into lib too

This correctly fixes [ruby-trunk - #9106].  The initial fix did not copy
directories properly so an extension installed by RubyGems 2.2 would not
work correctly on RubyGems 2.1, nor would gems that don't trust
$LOAD_PATH work correctly.