fixes #250, add install build flag