configure.ac: try to fix beos build