Rewriting of the premake file to support crossbridge.