Oh,

I forgot

Remove the following line from your .def file
DLLMain @1
so the file should read
Code:
LIBRARY MathLib

EXPORTS 
        Increment @1
        Decrement @2
        Square @3