changed long to blaslong for windows compatibility