Added script for running valgrind check
Don't depend on spesific wxWidget version
Removed temporary undef