cmake: use CMAKE_C_STANDARD for setting std=c99
cmake: use CMAKE_C_STANDARD for setting std=c99

Signed-off-by: Antonio Gutierrez <2f780b53bb047ab4c7f7bb5d6f625a6871055abe@gmail.com>

chibby0ne/client_server,chibby0ne/client_server