Fixed build issues in linux for perspective app.