I changed the build script to create the output directory if it does not exist already.

Background:
The bin directory is currently not contained in the repository. This caused the build to fail in travis continuous integration.