FIX: issue #970 (Library compilation broken)
FIX: issue #988 (Compiling DLL with RPi Target crashes the compiler)
Merge pull request #991 from qtxie/DLL-fix

FIX: issue #970 (Library compilation broken)