FIX: issue #970 (Library compilation broken)