Adds building of extensions for supported platforms. Enables building on different platforms.