Fixed up permissions of samtools files.
More permissions fixing in src.
Getting it to compile on OS X 10.9 with gcc/g++ 4.9. It seems to work, so far.