fixes for linaro 4.7.4, some changes, fix mrproper command