Adds beamer as a dependency