Think i fixed a bug in cmake file for libwebsockets that causes a failed link on gcc