Fixed inlining issues (caused errors when compiling C++ programs in KISS)