fall back to hard coded linker flags if pkg-config fails