Add some tests for passing on variables
Remove -stdlib=libc++ for c++11. Likely not necessary anymore