Practical asymmetric synthesis of a gamma-secretase inhibitor exploiting substrate-controlled intramolecular nitrile oxide-olefin cycloaddition.