rebar compile eunit compile_only=true fails for yaws

Changes to allow yaws to be compiled by rebar for eunit testing.  This change is helpful when embedding yaws as a dependency of an Erlang application.

NOTE: One or more eunit tests will still fail when run via rebar.