removed static linking since it didn't work ootb