Switched to Premake and added shared library configurations.