declare inlined methods as static

or else it will fail on non-gcc