Added license text and improved compile target