Makefile.am: Build librest before corebird