Fixed everything. Also, uses compile-time polymorphism for windows now
Merge pull request #1 from GBGamer/lifetime_fix

Fixed everything. Also, uses compile-time polymorphism for windows now