to handle dependency to ruby-json. * Fix miscellaneous permission of files. It should fix build problem with ruby18-base.