added define for static libs