Fix for generic build.