fixes for the build process

See #8