Env hook fix

* OROCOS_TARGET variable may be undefined before calling find_package(OROCOS_RTT ...)
* The Orocos env-hook is valid for all kind of shells, not only bash.