added conditional removal of linux32 dirs from path for arm devices