Fix build failed on scrutinizer-ci