Find the correct source directory when rebar is used

This directory is used to find otis headers and templates, used to
generate and compile the rewrite engine.