Add default constructor in custom mapper compilation check