In musl libc there is no GLOB_TILDE defined.

--- chuck-1.3.5.2/src/util_string.cpp	2015-10-21 11:04:45.000000000 +0200
+++ chuck-1.3.5.2/src/util_string.cpp	2015-10-25 15:54:10.284686182 +0100
@@ -41,6 +41,11 @@
 #endif // __PLATFORM_LINUX__
 
 #include <stdio.h>
+
+#if !defined(__GLIBC__)
+#define GLOB_TILDE 0	// unsupported GNU libc extension
+#endif
+
 using namespace std;
 
 
