We passed bogus --libdir even in standard native builds; apparently it wasn't a problem, but I also fixed that.