Added install and post install scripts.

Kind of hacky, but it works on windows now too. At least from git bash.