added typedefs for logging
[wip] trying to build on linux