use `export` keyword

I havn't been able to try it locally because `make` segfaults here. Should be okay though.