Minor build system improvements.

Add BUILD_TUTORIALS option to select if src/tutorials will be built.

Fix detection of HDF5 libraries on windows.