build system: fix CMakeList for Ray

Link: https://github.com/sebhtml/ray/issues/194
Signed-off-by: Sébastien Boisvert <sebastien.boisvert.3@ulaval.ca>