Select matplotlib backend in apasvo-detector depending on sys.platform