fix linking for acs, fixes #3