Make src compile against both API versions