Adapted basic blocks to work with windows (refs #196).