Fix some portability problems with 'inline'.