improved compile_OF.sh. install dependencies and compile OF outsite of rake.