Added the amsmath switch to the ntheorem package so that references will
work properly