Set LD_LIBRARY_PATH earlier

If the scripts were ran on ubuntu trusty with the ONLY_UNITTESTS
variable exported, it failed. Trusty requires LD_LIBRARY_PATH to be set
properly. This fix moves up the assignment, thus it takes effect
regardless how the options used.

Signed-off-by: Mate Lakat <mate.lakat@citrix.com>