build: add bootstrap script for autotools

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
core: avoid typedef

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>