Revert "set ac_disable_static"

This reverts commit 0c9fd823e1f6b6fa4b7782aa3261ae925ebca2fb.