Remove REE specific setup_compile_environment_flags_docs

Fixes #1615
Merge pull request #1617 from Nitrodist/master

Remove REE specific configure option for docs