check for presence of posix spin locks instead of pthreads in AutoArray class
construct BamCatHeader from file names instead of info objects in non streaming mode