Silence warnings due to detected compiler standards Enable BAM support in cmake Patch out remaining aggressive optimizations