build: fix issues exposed by build options
release: 0.1