Split build into platform-specific frameworks