misc: improve building alignment with the foundation
misc: fixed building alignment issues

fixes #57