Extend checks on build prerequisites for building OpenWRT core