fixing build (debian linux) and adding pastry basics