Fixing build script

Fixes #115