Fixed windows build error because of inline