abuild: avoid calculations with void pointers
Arithmetic operations with void pointers are an extension by some compilers and not part of the C standard, which does not specify the size of void.
CFLAGS with -pedantic reveals this during compile time. I have adjusted the usage of ?: so CFLAGS can contain -pedantic now.
Edited by Samanta Navarro