Make sure if the linker accepts -Wl,-Bstatic before using it.
Remove the ports build directory by default.
List available options for extconf.rb in a comment section.