resolve the error : undefined reference to XCursorImageCreate