Libya court approves Gaddafi candidate bid