Cleaning up meta_extract.rb.
Making the code of meta_extract.rb more portable.