a few --lfile bugfixes
--reference, --allele-count
gcc fix