remove incorrect STATIC source from casadi_library macro calls