imx6: fix warnings due to switch to distro environment