Bugfix: missing function in -O optimised mode.