Fixed mspec build issue