add cmake files to build libear on any platform properly
use cmake to build libear