added cmake options for setting linalg backend libraries