monkey patch to work with rubygems 2.2.2
also removed .c and .h files after compilation