Handle CMAKE_LIBRARY_OUTPUT_DIRECTORY when is not defined in the ROOT macros.