Fixed check-examples-cmdline_static to run from inside eclipse
* PATH and LD_LIBRARY_PATH now point to source directory instead of target directory