bugfix to automake for standalone