--- a/wscript
+++ b/wscript
@@ -376,9 +376,9 @@
     debug_flags = []
 
     u = PLATFORM.uname ()
-    cpu = u[4]
-    platform = u[0].lower()
-    version = u[2]
+    cpu = 'generic'
+    platform = 'linux'
+    version = 'none'
 
     # waf adds -O0 -g itself. thanks waf!
     is_clang = conf.check_cxx(fragment = '''
