Fixed some problems that were preventing me from building it.