samples: Some changes for Linaro GCC 4.7-2014.06