Bryan Singer to direct 'X-Men: Apocalypse'