Added dummy main in variational approximation example

Fixes compilation error (reproduced with macosx 10.9 and its default compiler)