Fix: add static inline

The funcion was being exported and then in case multiple
files were using the same header, the linker would fail.

This makes sure that the fake assert function is not exported.