lib: fix #else support
0.4.5