Improved compiler error messages