require fixes for older rubies