fix rake build failed