Fix CUDA compilation with GCC >= 4.7
Updated wscript with comments and removed a print statement.