Update version for 3.1.1 development
Add asprint() compatibility function for systems lacking it