Add an include guard to scopedptr as it is likely to be included
multiple times.
Don't build the QFileZeroCopyInputStream if we don't have Qt.