changed to integer target SDK, removed v21-specific style
Changed to 3-part version numbering