BLD: Don't hard-code path for building notebooks. Closes #1249