update rakefile
fix build error when MRI is not being used