Compiles with musl: execinfo optional; fix cast.