Fixed build error by using a different cmake function for checking the compiler flags
Fixed build error by using a different cmake function for checking the compiler flags


ksubramz/CppMicroServices,CppMicroServices/CppMicroServices,ksubramz/CppMicroServices,ksubramz/CppMicroServices,mobileFX/CppMicroServices,saschazelzer/CppMicroServices,mobileFX/CppMicroServices,CppMicroServices/CppMicroServices,ksubramz/CppMicroServices,CppMicroServices/CppMicroServices,quinnlin/CppMicroServices,saschazelzer/CppMicroServices,Heather/CppMicroServices,CppMicroServices/CppMicroServices,CppMicroServices/CppMicroServices,ksubramz/CppMicroServices,quinnlin/CppMicroServices,Heather/CppMicroServices