fix build

- build the behviour first
- build with latest erlang R16B03

This branch is fixing #2 .