fix build dependency handling (#7)