rds: fixed out of tree build