Check for C99 before using inline. Fixes #5