Updated build scripts

Fixes #15