Production of biofuel from lipids and alternative resources