Only set cmake output dir for Xcode

Surround the setting of CMAKE_LIBRARY_OUTPUT_DIRECTORY with
a check for Xcode

refs #7284