remove STATIC from ADD_LIBRARY command (use BUILD_SHARED_LIBS value)