CMake 3.0: Fix DL_LIBS being reset for Blackberry.