Fixed compilation and linking on rppi crosstool-ng environment