for compiliers other than msvc we need to tell lua that its building as a dll