Added lgpl license to file, fixed build

Simple fix, just had to fork to a local copy.