COMPMID-417: Fixed broken scons script to build bare_metal and related compiler errors.

Change-Id: I5f2d6c8b199698a5c2622254696da7034cef1b50
Reviewed-on: http://mpd-gerrit.cambridge.arm.com/87928
Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com>
Reviewed-by: Michalis Spyrou <michalis.spyrou@arm.com>
diff --git a/arm_compute/core/NEON/kernels/NEMinMaxLayerKernel.h b/arm_compute/core/NEON/kernels/NEMinMaxLayerKernel.h
index 5e01acf..c5ead90 100644
--- a/arm_compute/core/NEON/kernels/NEMinMaxLayerKernel.h
+++ b/arm_compute/core/NEON/kernels/NEMinMaxLayerKernel.h
@@ -26,9 +26,9 @@
 #define __ARM_COMPUTE_NEMINMAXLAYERKERNEL_H__
 
 #include "arm_compute/core/NEON/INEKernel.h"
+#include "support/Mutex.h"
 
 #include <cstdint>
-#include <mutex>
 
 namespace arm_compute
 {
@@ -71,7 +71,7 @@
     void update_min_max(float *out_ptr, float min, float max);
     const ITensor *_input;
     ITensor       *_output;
-    std::mutex     _mtx;
+    Mutex          _mtx;
 };
 }
-#endif /* __ARM_COMPUTE_NEMINMAXLAYERKERNEL_H__ */
\ No newline at end of file
+#endif /* __ARM_COMPUTE_NEMINMAXLAYERKERNEL_H__ */