Add option for static runtime linking
Fix some naming