change at_cmd to static library

Change-Id: I9e08355738d4dcfa21ef6a75beb647f32f17e6ce