[Build] Fix check for size which was not working if the shell was not bash.
[XSLT] Fix bugs in slides.xslt, now it works again.