Build dir name should be the same as the build name

Fixes #386