Include only necessary libs when calling apxs

Drop cflags and libs options that make apxs unhappy

Closes #3