Changed the premake logic to better account for *cross* compilation to other systems, instead of self-hosted ones.