modify after-build event, now the project can easily build and run with an kinect plugged in