make sure ree is installed using 1.8.7, fix #2693