bin/compile: Use gem1.9 if available