fix build of ramdisks