SOC_U: Fixed the build on linux and os x