changed allocation counter to uint64_t

also avoids format string confusion for bnum_allocs
updated automake files with latest osx changes