Fix build with scientific 0.3.*