common: Fix build problem with Sun Studio compiler.