Fix buildsystem error messages