Fixed tplay build issues in Ubuntu 13.04