Added staticlibs to prevent .a files being deleted