improved a little the CMakeList to make it more portable