Replace .dylib with $(SHLIB_EXT)

For consistency within the file.