Fixed syntax error and removed static libs