Revert "Modified so that the code will be statically compiled. This will make the resulting executable faster and remove the need for external libraries on the system"

This reverts commit d4fd6dad550954131202a1c169f0f1e013ade517.