Improve compatability with MSVC compiler by allowing usage of inline