Linux: fix link flags for load_self test